<% form_for @request, :html => { :multipart => true } do |f| %>
  <p>
    <%= f.file_field :file %><%= f.submit "upload" %>
  </p>
<% end %>

